Search found 7 matches

by JBNY
Tue Oct 06, 2009 4:59 pm
Forum: General
Topic: Inserting a space between letters strung together
Replies: 5
Views: 682

Thanks, I'll try that. I have acces to other regex products. Is this something I could do with regex in general? If so, do you know what the expression might be.

Thanks
-Joe
by JBNY
Mon Oct 05, 2009 2:36 pm
Forum: General
Topic: Inserting a space between letters strung together
Replies: 5
Views: 682

I have been using this, but I am stumped on how to get it NOT to pick up words like

McArthur
MacDaddy

Basically not process anything that starts with Mc or Mac

I tried
[^Mc]([[:lower:]])([[:upper:]])

But that seems to not work. Any suggestions?

Thanks
-Joe
by JBNY
Tue Apr 21, 2009 8:46 pm
Forum: General
Topic: Fixing bad quotes
Replies: 2
Views: 530

Fixing bad quotes

Hello,

I am trying to find a regex to fix quotes in a document for example:

change

'Good. Then let's do it.'

to

"Good. Then let's do it."

I've tried the find expression
'((\\')|[^'(\\')])+'

and

'[^'\r\n]*'

but both catch the ' in let's as a quote as well.

Any ideas?

Thanks!
-Joe
by JBNY
Tue Apr 14, 2009 3:54 pm
Forum: General
Topic: Chnaging a section based on the line above?
Replies: 4
Views: 393

Thank you, that worked perfect!
by JBNY
Tue Apr 14, 2009 2:26 pm
Forum: General
Topic: Chnaging a section based on the line above?
Replies: 4
Views: 393

Chnaging a section based on the line above?

Trying to figure this one out, I'm cleaning up html docs and I am trying to get some formatting done. I need to do the following replacement on about 80-90 sections.

Find

<DIV align=right><B>a bunch of text here</B></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;More text here as well</DIV>

replace

<DIV ...
by JBNY
Wed Mar 25, 2009 8:31 pm
Forum: General
Topic: Coverting text to italics
Replies: 2
Views: 314

That worked perfect. Thank You!
by JBNY
Wed Mar 25, 2009 7:30 pm
Forum: General
Topic: Coverting text to italics
Replies: 2
Views: 314

Coverting text to italics

I searched but could not find this answer.

Using ver 5.2 I am converting some txt files to html and am trying to deal with how italics are treated in many text files, I need to do this

_some text is here_
or
*some text is here*

and covert it to

<i>some text is here</i>

The text between _ or ...