Search found 18 matches

by ravilobo
Wed Feb 18, 2015 4:29 pm
Forum: General
Topic: Need help creating a Macro
Replies: 3
Views: 1741

ben_josephs wrote:
Find what: (.+)\n+(.+)\n+(.+)\n+(.+)
Replace with: \('$1', '$2', '$3', '$4'\)
Thank you Ben.
Your code works only for 4 entries. I need a generic solution, where it should work, even if i enter 100 entries.
by ravilobo
Wed Feb 11, 2015 2:47 pm
Forum: General
Topic: Need help creating a Macro
Replies: 3
Views: 1741

Need help creating a Macro

I need little help in creating a macro. The regex works as expected. But when I try to put it in a macro, it doesn’t work. This is one column of data: C0031 C1376 F189 F912 This is how I want the data to look like. ('C0031', 'C1376', 'F189', 'F912') Here are the steps I follow. They work perfectly...
by ravilobo
Mon Aug 03, 2009 6:41 pm
Forum: General
Topic: Replace text length limitation
Replies: 0
Views: 209

Replace text length limitation

I found that the maximum length limit for replace string is 1024 characters. I am doing a replace which is longer than 1024 characters. Is there a way to increase the limit? Some sort of setting that I can update?
by ravilobo
Tue Jul 14, 2009 4:38 pm
Forum: WildEdit
Topic: WildEdit Vs Textpad
Replies: 2
Views: 3832

WildEdit Vs Textpad

What are the things that can be achieved only in Wildedit and not in Textpad?
by ravilobo
Thu May 14, 2009 1:44 pm
Forum: General
Topic: Convert to DOS.
Replies: 3
Views: 472

Thank you Ben. That makes sense.
by ravilobo
Wed May 13, 2009 9:36 pm
Forum: General
Topic: Convert to DOS.
Replies: 3
Views: 472

Convert to DOS.

When I try to see the content of file (by TYPE DOS command), every character is delimited by a space. After – converting the file to DOS – in textpad, the file looks fine.

Why does this happen?
by ravilobo
Fri May 01, 2009 6:38 pm
Forum: General
Topic: RegEx for range search
Replies: 2
Views: 348

Got your point. Thank you Ben.
by ravilobo
Fri May 01, 2009 3:54 pm
Forum: General
Topic: RegEx for range search
Replies: 2
Views: 348

RegEx for range search

Is it possible to have RegEx for a range? For e.g. how to write a RegEx that searches numbers falling between 50 and 75?
by ravilobo
Thu Apr 16, 2009 1:49 pm
Forum: General
Topic: prefixing object name with scheme.
Replies: 5
Views: 576

Amazing! Thank you ben!
by ravilobo
Thu Apr 16, 2009 12:06 pm
Forum: General
Topic: prefixing object name with scheme.
Replies: 5
Views: 576

My apologies for not giving a proper example. The RegEx works for my earlier example, however it is not working for following case,

Code: Select all

CREATE PROC F1 AS SELECT GETDATE()
CREATE PROC DBO.F2 AS select col1 from tab
by ravilobo
Thu Apr 16, 2009 11:55 am
Forum: General
Topic: prefixing object name with scheme.
Replies: 5
Views: 576

Thank you Ben! It worked.
by ravilobo
Wed Apr 15, 2009 11:13 pm
Forum: General
Topic: prefixing object name with scheme.
Replies: 5
Views: 576

prefixing object name with scheme.

I need to prefix the objects with schema name. I have the following code,

Code: Select all

CREATE PROC F1
CREATE PROC DBO.F2
I need a RegEx which prefixes "dbo." to objects; at the same time it also takes care of existing schema.

Code: Select all

CREATE PROC DBO.F1
CREATE PROC DBO.F2
by ravilobo
Thu Feb 19, 2009 9:47 pm
Forum: General
Topic: Header and Footer
Replies: 1
Views: 257

Header and Footer

Is there an easy way to insert header and footer in ALL OPEN DOCUMENTS using textpad?
by ravilobo
Tue Dec 18, 2007 10:17 pm
Forum: General
Topic: Header and Footer
Replies: 7
Views: 857

Thanks Bob. Thanks talleyrand.

As talleyrand mentioned I was looking for an option similar to - "match entire document" and replace with "header"\1"footer"
by ravilobo
Mon Dec 17, 2007 8:05 pm
Forum: General
Topic: Header and Footer
Replies: 7
Views: 857

Header and Footer

I have around 40 files, in which header and footer (constant string) is required. How to achieve this using regular expressions or macro?