Hey there , i downloaded today the trial version of TextPad...before i purchase it i just want to know if i can edit some playlists and export them in the format i want.
as im new to this type of editing i will post an example...maybe somebody can give me a hand...
Arssura - - Cine Sunt dance bun(2009)good
AISA & DJ YAANG - Ready To Go
Chris Cornell & Timbaland - Part of me
Animal X - Sambure de drac
....................
i want to know if there is a way to extract from my list only first name until the - , so the playlist will look like this:
Arssura
AISA & DJ YAAN
Chris Cornell & Timbaland
Animal X
Thanks...and looking forward for some tips
format text
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
The search expression is a regular expression. It matches certain sequences of characters in your text.Find what: _-_.* [Replace the underscores with spaces]
Replace with: [nothing]
[X] Regular expression
Replace All
Most characters in regular expressions match themselves: a space means "match a space" and a hyphen means "match a hyphen". Dot (.) is special in regular expressions: it means "match any single character (except a newline)". Star (*) is also special: it means "match whatever the preceding regular expression matched any number (possibly zero) of times". So .* means "match any number of characters (up to the end of the line), whatever they are". So the entire regular expression _-_.* (with the the underscores replaced with spaces) means "match a space-hyphen-space sequence followed by everything up to the end of the line.
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm