Find EITHER a comma or a period, followed by a carrier retur

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
no.cache
Posts: 165
Joined: Thu May 15, 2003 2:52 pm

Find EITHER a comma or a period, followed by a carrier retur

Post by no.cache »

And it can only be a comma or a period — no other form of punctuation.

Here is my crude initial attempt, which doesn't work: :oops:

[[.],]\n

Skye
User avatar
no.cache
Posts: 165
Joined: Thu May 15, 2003 2:52 pm

Post by no.cache »

Woo Hoo got it:

[.,]\n

:D
User avatar
jeffy
Posts: 323
Joined: Mon Mar 03, 2003 9:04 am
Location: Philadelphia

Post by jeffy »

[.]\|,

Man I am on a ROLL today. :' )

Look up "How to Use Regular Expressions" in the help documentation.
Post Reply