Replace _ with whitespace
#1
One of my GetSearchResults delivers me the movie in "this_is_the_movie_i_was_looking_for" format.

Its working but not looking so good.

How can I replace some with whitespaces?

Quite a nub question, but I really couldn't figure it out.
Reply
#2
flobbes Wrote:One of my GetSearchResults delivers me the movie in "this_is_the_movie_i_was_looking_for" format.

Its working but not looking so good.

How can I replace some with whitespaces?

Quite a nub question, but I really couldn't figure it out.

Do a regex on the "this_is_the_movie_i_was_looking_for", search "_+" and replace with " (\1)". It's something along those lines but I'm unable to check it at work. See thetvdb scraper, the createsearchurl replaces spaces with "%20"
Reply

Logout Mark Read Team Forum Stats Members Help
Replace _ with whitespace0