Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

uuid regex

/[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}/
Comment

regex for uuid

|[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}
Comment

regex for uuid v4

function uuidValidation (item)
{
  let regexUuid = /[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}/;
  return item.match(regexUuid)?true:false
}

let uuid = "88a34ad8-0e16-4057-9d5e-314765d44c8d";
console.log(uuidValidation(uuid));
Comment

PREVIOUS NEXT
Code Example
Python :: get wd in python 
Python :: python get username 
Python :: pygame boilerplate 
Python :: python iterate through date range 
Python :: seaborn figure size 
Python :: max columns in python 
Python :: how to start python quick server 
Python :: python marker size 
Python :: get hour python 
Python :: save utf 8 text file in python 
Python :: get terminal size python 
Python :: how to print time python 3 
Python :: pytube.exceptions.RegexMatchError: get_throttling_function_name: could not find match for multiple 
Python :: create conda env with specific python version 
Python :: download playlist from youtube python 
Python :: tqdm pandas apply in notebook 
Python :: copy to clipboard python 
Python :: python text tkinter not typable 
Python :: running selenium on google colab 
Python :: use incognito in selenium 
Python :: python plot frequency of column values 
Python :: python create directory 
Python :: how to delete row pandas in for loop 
Python :: esp32 micropython timer 
Python :: python how to write pandas dataframe as tsv file 
Python :: how to print hello world 10 times in python 
Python :: python readlines without n 
Python :: python save seaborn plot 
Python :: save df to txt 
Python :: for loop in df rows 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =