## EN (DE unten) Hello dear community, In programming, there are RegEx (Regular Expressions) that can be used to search for patterns in a text. If you have a text that contains a number and you only want the number, you can use RegEx. You can then use certain characters to define different conditions. For example, the "." dot stands for exactly one arbitrary character, if you combine it with an asterisk ".*" it stands for any number of arbitrary characters. However, if you are not looking for a character, you must use ".?", because "." will always search for a character. Ok, ok, I'll stop already. I can do some basic things, but most of the time I don't feel like thinking about what the RegEx has to look like for certain things. That's why I tend to try to work around it and solve it in other ways. I haven't done enough work on it because I don't want to and then it's difficult.  I thought that ChatGPT would help me with this. Unfortunately, it took a few attempts because ChatGPT didn't give me the right solution straight away, I had to correct it a few times. It was still helpful in the end, of course, but it could have gone better. I'll still use it though, because as I said I don't like it and have even less nerve to do it all by myself LOL Translated with DeepL.com (free version) ## DE Hallo liebe Community, in der Programmierung gibt es RegEx (Regular Expressions), mit dem man nach Mustern in einem Text suchen kann. Wenn man einen Text hat, der eine Zahl enthält und nur die Zahl haben will, kann man dafür RegEx nutzen. Durch bestimmte Zeichen kann man dann unterschiedliche Bedingungen festlegen. So steht der "." Punkt z.B. für genau ein Beliebiges Zeichen, kombiniert man es mit einem Stern ".*" steht es für beliebig viele Beliebige Zeichen. Sofern man aber auch ggf, kein Zeichen sucht, dann muss man ".?" nutzen, denn bei "." wird auf jeden Fall ein Zeichen gesucht. Ok, ok ich höre ja schon auf. Ich kann so einige grundlegende Sachen, aber meist habe ich keine Lust mir das zu überlegen, wie denn der RegEx für bestimmte Sachen aussehen muss. Deswegen versuche ich dann eher es zu umgehen und anderweitig zu lösen. Ich habe mich damit nicht ausreichend beschäftigt, weil ich es nicht möchte und dann ist es auch schwer.  Ich dachte, nun gibt es ja ChatGPT und der wird mir dabei helfen. Leider hat es aber ein paar Anläufe gebraucht, da ChatGPT mir nicht direkt die richtige Lösung gegeben hat, musste Ihn paar mal korrigieren. War am Ende natürlich dennoch hilfreich, aber es hätte besser laufen können. Werde es aber dennoch weiterhin nutzen, denn wie gesagt ich mag es nicht und habe noch weniger die Nerven es ganz alleine zu machen LOL Posted Using [InLeo Alpha](https://inleo.io/@mein-senf-dazu/not-a-fan-of-regex-nor-is-chatgpt-kein-fan-von-regex-chatgpt-wohl-auch-nicht-3wy)
author | mein-senf-dazu |
---|---|
permlink | not-a-fan-of-regex-nor-is-chatgpt-kein-fan-von-regex-chatgpt-wohl-auch-nicht-3wy |
category | hive-167922 |
json_metadata | {"app":"leothreads/0.3","format":"markdown","tags":["hive-167922","DEUTSCH","PROOFOFBRAIN","INLEO","CCC","ALIVE","VYB","LEOFINANCE","HIVE-ENGINE"],"canonical_url":"https://inleo.io/@mein-senf-dazu/not-a-fan-of-regex-nor-is-chatgpt-kein-fan-von-regex-chatgpt-wohl-auch-nicht-3wy","links":["https://images.ecency.com/DQmYU8Z9oDnPwCBd5nbh9mVod24GV25YeXSE5GcrdNPSRA1/grafik.png)","https://images.ecency.com/DQmYU8Z9oDnPwCBd5nbh9mVod24GV25YeXSE5GcrdNPSRA1/grafik.png)","https://inleo.io/@mein-senf-dazu/not-a-fan-of-regex-nor-is-chatgpt-kein-fan-von-regex-chatgpt-wohl-auch-nicht-3wy)"],"images":[],"isPoll":false,"dimensions":{}} |
created | 2024-10-27 21:14:27 |
last_update | 2024-10-27 21:14:27 |
depth | 0 |
children | 3 |
last_payout | 2024-11-03 21:14:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.772 HBD |
curator_payout_value | 0.770 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,027 |
author_reputation | 302,500,726,963,123 |
root_title | "Not a fan of RegEx, nor is ChatGPT - Kein Fan von RegEx, ChatGPT wohl auch nicht" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 138,110,233 |
net_rshares | 5,904,636,822,450 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
miketr | 0 | 197,327,909,355 | 60% | ||
leontr | 0 | 2,538,207,292 | 40% | ||
pele23 | 0 | 221,440,259,130 | 34% | ||
eddwood | 0 | 244,373,379,892 | 100% | ||
cervisia | 0 | 108,019,767,444 | 61.02% | ||
nerdtopiade | 0 | 24,362,866,632 | 60% | ||
investyourvote | 0 | 43,170,367,735 | 60% | ||
condeas | 0 | 352,371,889,469 | 20% | ||
siphon | 0 | 77,936,452,931 | 50% | ||
photobook | 0 | 15,842,000,206 | 100% | ||
dotwin1981 | 0 | 187,592,032,633 | 33% | ||
meins0815 | 0 | 10,464,364,596 | 23% | ||
crimo | 0 | 580,883,104 | 11.5% | ||
altonos | 0 | 3,369,874,293 | 100% | ||
berthold | 0 | 10,402,907,251 | 40% | ||
sbi9 | 0 | 196,428,792,830 | 93.15% | ||
linuxbot | 0 | 6,288,541,405 | 20% | ||
kaldewei | 0 | 645,507,662 | 33% | ||
kryptodenno | 0 | 3,556,715,460,901 | 100% | ||
investinthefutur | 0 | 91,069,296,136 | 60% | ||
sbi-tokens | 0 | 3,243,784,853 | 5.68% | ||
bilpcoinbot | 0 | 0 | 100% | ||
lotto-de | 0 | 91,181,259,934 | 60% | ||
thehockeyfan-at | 0 | 330,547,774,245 | 50% | ||
borbolet | 0 | 12,721,532,592 | 30% | ||
theshot2414 | 0 | 6,693,694,257 | 2% | ||
adventkalender | 0 | 2,403,281,824 | 50% | ||
patchwork | 0 | 5,762,995,343 | 100% | ||
aresteris | 0 | 289,710,585 | 100% | ||
cleanyourcity | 0 | 72,198,760,432 | 10% | ||
slicense | 0 | 1,969,431,022 | 60% | ||
blkchn | 0 | 26,452,257,727 | 60% | ||
secondbrain | 0 | 231,578,739 | 100% |
<div class='pull-right'>https://files.peakd.com/file/peakd-hive/beerlover/yiuU6bdf-beerlover20gives20BEER.gif<p><sup><a href='https://hive-engine.com/?p=market&t=BEER'>View or trade </a> <code>BEER</code>.</sup></p></div><center><br> <p>Hey @mein-senf-dazu, here is a little bit of <code>BEER</code> from @thehockeyfan-at for you. Enjoy it!</p> <p>Did you know that <a href='https://dcity.io/city</b>you can use <b>BEER</b> at dCity game</a> to buy cards to rule the world.</p> </center><div></div>
author | beerlover |
---|---|
permlink | re-meinsenfdazu-not-a-fan-of-regex-nor-is-chatgpt-kein-fan-von-regex-chatgpt-wohl-auch-nicht-3wy-20241027t213118775z |
category | hive-167922 |
json_metadata | {"app":"beerlover/3.0","language":"rust","developer":"wehmoen"} |
created | 2024-10-27 21:31:18 |
last_update | 2024-10-27 21:31:18 |
depth | 1 |
children | 0 |
last_payout | 2024-11-03 21:31:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 499 |
author_reputation | 25,811,331,779,356 |
root_title | "Not a fan of RegEx, nor is ChatGPT - Kein Fan von RegEx, ChatGPT wohl auch nicht" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 138,110,427 |
net_rshares | 0 |
Congratulations @mein-senf-dazu! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s) <table><tr><td><img src="https://images.hive.blog/60x60/https://hivebuzz.me/badges/postallweek.png"></td><td>You have been a buzzy bee and published a post every day of the week.</td></tr> </table> <sub>_You can view your badges on [your board](https://hivebuzz.me/@mein-senf-dazu) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> **Check out our last posts:** <table><tr><td><a href="/hive-122221/@hivebuzz/pud-202411"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202411">Hive Power Up Day - November 1st 2024</a></td></tr><tr><td><a href="/halloween/@hivebuzz/halloween-2024"><img src="https://images.hive.blog/64x128/https://files.peakd.com/file/peakd-hive/hivebuzz/48HBQsbpPcoRfe6NQgzk82mfFbSCd1F958x5Ym9cAiJnjMzqraeGnswMFHAzJNMK5c.png"></a></td><td><a href="/halloween/@hivebuzz/halloween-2024">Halloween Challenge - Publish Your Chilling Story for an Exclusive Halloween Badge!</a></td></tr></table>
author | hivebuzz |
---|---|
permlink | notify-1730086375 |
category | hive-167922 |
json_metadata | {"image":["https://hivebuzz.me/notify.t6.png"]} |
created | 2024-10-28 03:32:54 |
last_update | 2024-10-28 03:32:54 |
depth | 1 |
children | 0 |
last_payout | 2024-11-04 03:32:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,270 |
author_reputation | 369,401,932,328,874 |
root_title | "Not a fan of RegEx, nor is ChatGPT - Kein Fan von RegEx, ChatGPT wohl auch nicht" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 138,118,818 |
net_rshares | 0 |
!BEER
author | thehockeyfan-at |
---|---|
permlink | re-mein-senf-dazu-sm1ag0 |
category | hive-167922 |
json_metadata | {"tags":["hive-167922"],"app":"peakd/2024.10.7","image":[],"users":[]} |
created | 2024-10-27 21:31:12 |
last_update | 2024-10-27 21:31:12 |
depth | 1 |
children | 0 |
last_payout | 2024-11-03 21:31:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5 |
author_reputation | 97,808,013,774,180 |
root_title | "Not a fan of RegEx, nor is ChatGPT - Kein Fan von RegEx, ChatGPT wohl auch nicht" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 138,110,426 |
net_rshares | 0 |