Regex: Mix-Numbers / Cross-numbers
-
hello, I need a regex to mix numbers on different lines and columns. So, I try to use the regex that guy38 used to mix words on other topic: https://notepad-plus-plus.org/community/topic/12322/regex-crossword-maker-mix-words
For example this .txt files with numbers:
15 34 39 42 43 48
36 5 13 9 6 17
2 18 20 34 32 3
10 29 18 2 39 44So, this is guy38 regex for mix words:
SEARCH :
([\w-]+)[^\w\r\n-]+([\w-]+)[^\w\r\n-]+([\w-]+)[^\w\r\n-]+([\w-]+)[^\w\r\n-]+([\w-]+)[^\w\r\n-]+([\w-]+)[^\w\r\n-]+([\w-]+)REPLACE :
\3 \1 \7 \5 \4 \2 \6Now, I try wo change a little bit his search part, instead of
\wI will try to use\d:([\d-]+)[^\d\r\n-]+([\d-]+)[^\d\r\n-]+([\d-]+)[^\d\r\n-]+([\d-]+)[^\d\r\n-]+([\d-]+)[^\d\r\n-]+([\d-]+)[^\d\r\n-]+([\d-]+)It doesn’t work. Anyone?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login