["9.358,26 €", "Hello World", "3.562,77 €", "3,77 €"] -> ["Hello World"]
I was thinking of using regex, but is there a more easy way?
["Hello World"] I was thinking of using regex, but is there a more easy way?" /> ["Hello World"] I was thinking of using regex, but is there a more easy way?" /> ["Hello World"] I was thinking of using regex, but is there a more easy way?"/>
Assuming this is Python, a simple List Comprehension should suffice:
Another option is using the filter() function:
more compactly using an anonymous function: