Yogesh

Yogesh

Monday, July 6, 2026

 XML 

replace Blank Tags and Lines in Notepad++ with regEx

1. <([a-zA-Z0-9_]+)(\s[^>]*)?>\s*</\1> OR <(\w+)(?:\s+[^>]*)?>\s*</\1>|<\w+(?:\s+[^>]*)?\s*/>

2. <\w+(?:\s+[^>]*)?\s*/>

3. Blank Lines ^\s*\r?\n

4. Date: (\d{4})-(\d{2})-(\d{2}) To  \3/\2/\1

Saturday, February 1, 2025

Copy Text to Clipboard on Click in HTML

 <div onclick=navigator.clipboard.writeText(this.innerHTML.replaceAll('[dot]','.').replaceAll('[at]','@'))>yogeshkhadayate[at]yahoo[dot]in</div>


Toast / Snackbar in HTML

 <!DOCTYPE html>

<html>

<head>

<meta name="viewport" content="width=device-width, initial-scale=1">

<style>

#snackbar {

  visibility: hidden;

  min-width: 250px;

  margin-left: -125px;

  background-color: #333;

  color: #fff;

  text-align: center;

  border-radius: 2px;

  padding: 16px;

  position: fixed;

  z-index: 1;

  left: 50%;

  bottom: 30px;

  font-size: 17px;

}


#snackbar.show {

  visibility: visible;

  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;

  animation: fadein 0.5s, fadeout 0.5s 2.5s;

}



</style>

</head>

<script>

function myFunction() {

//

const div = document.createElement('div');

div.id = 'snackbar';

div.innerHTML = 'Toast/Snackbar message';

document.body.appendChild(div);

//

  var x = document.getElementById("snackbar");

  x.className = "show";

  setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);

}

</script>

<body>


<button onclick="myFunction()">Show Toast/Snackbar Message</button>


</body>

</html>


Thursday, January 30, 2025

Wednesday, June 21, 2023

 डॉ. पुनीता शर्मा Dr. Puneeta Sharma


1) शिवलिंग Shivling https://youtu.be/kgio1-S7CB0

2) मातृ भूमि, भाषा Matru Bhumi, Bhasha https://www.youtube.com/live/sKc2eSTywRc?feature=share

3) बेटी बचाओBeti Bachao https://youtu.be/I0-K3vF2CCI

4) मकर संक्रांत Makar Sankrant https://youtu.be/hbW-hsil_6Y

5) भगवद्गीता BhagwadGeeta https://youtu.be/6y6ulkcX0Ik

6) सांस्कृतिक परम्परा मौखिक Sanskri Tradition Oral https://youtu.be/l0VSGNOJjyw