문제

I'm new to python and I'm working with code the requires me to make use of regular expressions substantially.

I've gone through the python documentation for regular expressions (http://docs.python.org/2/library/re.html)

However, since I'm new to python I find it hard to actually implement the functions that are specified within the documentation with the data I need to work with.

I was wondering if there's a forum out there that explains regular expressions in python with multiple examples for each function and all its possible variations. The more the merrier.

I've found this (http://docs.python.org/2/howto/regex.html) and this (http://flockhart.virtualave.net/RBIF0100/regexp.html) so far. I've found them useful but I was wondering if there is something out there that's better.

도움이 되었습니까?

해결책 2

You can try this pythonregex , its python specific and generates python code for your regular expressions.

enjoy!

다른 팁

You can use RegexOne for excellent tutorials on regular expressions in general.

You can use Debuggex (which is built by me) if you want to visualize and understand what a specific regex is doing.

If you want something python-specific, you can try Google's python regex tutorial.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top