I want to search a Textfile for all words for example
TextPad
and want to break it like
Text
Pad
I think i can do this with search an replace with Regular Expressions, but how cai i do this exactly ??
Search and Replace with Regular Expressions
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
So you dont know the specific words.I need to use it with any words in a list of about 300 000 Words
What will identify the words that need breaking?
And where will they break... 3,4,5 or n th letter?
Tough nut to crack...I've been sitting here last 15 mins figuring this may be some kind of joke??
webM
Sorry, this is not a joke.
I´ve got a list of words. Some of them are put together like TrainStation, but this should be two different words.
The words will be identified with the combination of Uppercase after Lowercase. This works well with the search for [a-z][A-Z].
For these words I´ll need a break between the Lowercase and the Uppercase. In our Example Textpad finds with regular expressions and the search for [a-z][A-Z] the Word TrainStation, and this word should be broken like
Train
Station
Using [a-z]\n[A-Z] in the field replace, produces
Trai[a-z]
[A-Z]tation
I´ve got a list of words. Some of them are put together like TrainStation, but this should be two different words.
The words will be identified with the combination of Uppercase after Lowercase. This works well with the search for [a-z][A-Z].
For these words I´ll need a break between the Lowercase and the Uppercase. In our Example Textpad finds with regular expressions and the search for [a-z][A-Z] the Word TrainStation, and this word should be broken like
Train
Station
Using [a-z]\n[A-Z] in the field replace, produces
Trai[a-z]
[A-Z]tation
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Thanks Ed.....
Whew...Glad I didn't have to work on that one! Fifteen minutes wouldn't begin to do it justice
The final information made it easy........well done.
So you dont know the specific words.
What will identify the words that need breaking?
And where will they break... 3,4,5 or n th letter?
Tough nut to crack...I've been sitting here last 15 mins figuring this may be some kind of joke??
Whew...Glad I didn't have to work on that one! Fifteen minutes wouldn't begin to do it justice
The final information made it easy........well done.