Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

regex

How to match only extensionless URLs?

August 24, 2022 by Magenaut

I want a regex expression which only match extensionless url. In otherwords if an extension is present in url then completely ignore it.

Categories ASP.NET, Q&A Tags asp.net, regex, url Leave a comment

How to restrict some file types and allow all others in Regular expression Asp.net

August 23, 2022 by Magenaut

I want to restrict few file types format and allow all others in regular expression validation expression. What i have try is specify some allowed and some restricted file types but i want to specify restricted file types and allow all others type to be uploaded.

Categories ASP.NET, Q&A Tags asp.net, file-upload, regex Leave a comment

Get text between symbols, regex?

August 23, 2022 by Magenaut

I have a problem, i can’t figure out a way to get out text between symbols.

Categories ASP.NET, Q&A Tags asp.net, c#, regex Leave a comment

Turning a into a with Regex/C#

August 23, 2022 by Magenaut

Strange question, but I won’t waste time explaining why I need to do this, just that I need to do it.

Categories ASP.NET, Q&A Tags asp.net, c#, regex Leave a comment

Regex to match dollar amount with uppercase letter or word

August 22, 2022 by Magenaut

I’m trying to match some sort of amount, here are all possibilities:

Categories Python, Q&A Tags python, regex Leave a comment

split string until a 5-7 digit number is found in python

August 22, 2022 by Magenaut

I have strings like the following:

Categories Python, Q&A Tags python, regex, split, string Leave a comment

How to extract numbers from a string in Python?

August 22, 2022 by Magenaut

I would like to extract all the numbers contained in a string. Which is better suited for the purpose, regular expressions or the isdigit() method?

Categories Python, Q&A Tags numbers, python, regex, string Leave a comment

What is the difference between re.search and re.match?

August 22, 2022 by Magenaut

What is the difference between the search() and match() functions in the Python re module?

Categories Python, Q&A Tags match, python, regex, search Leave a comment

re.findall behaves weird

August 22, 2022 by Magenaut

The source string is:

Categories Python, Q&A Tags python, regex Leave a comment

Python regex find all overlapping matches?

August 22, 2022 by Magenaut

I’m trying to find every 10 digit series of numbers within a larger series of numbers using re in Python 2.6.

Categories Python, Q&A Tags overlapping, python, regex Leave a comment
Older posts
Newer posts
← Previous Page1 … Page5 Page6 Page7 … Page20 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress